//
//  HZHttpFileData.h
//  Expert
//
//  Created by 刘华舟 on 15/4/3.
//  Copyright (c) 2015年 BLUEBLACK. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface HZHttpFileData : NSObject

@property (nonatomic, strong) NSData *data; // 文件的二进制数据

@property (nonatomic, copy) NSString *parameterName; // 参数名

@property (nonatomic, copy) NSString *fileName; // 文件名称

@property (nonatomic, copy) NSString *mimeType; // 文件的mimeType

+ (instancetype)fileWithData:(NSData *)data name:(NSString *)name fileName:(NSString *)fileName mimeType:(NSString *)mimeType;

- (instancetype)initWithData:(NSData *)data name:(NSString *)name fileName:(NSString *)fileName mimeType:(NSString *)mimeType;

@end
